<template>
	<view class="container">
		<view class="header">
			<view class="back-btn" @click="goBack">
				<text class="back-icon">←</text>
			</view>
			<text class="page-title">新建材料</text>
		</view>
		
		<view class="content">
			<view class="placeholder">
				<text class="placeholder-icon">📝</text>
				<text class="placeholder-text">新建材料功能</text>
				<text class="placeholder-desc">此功能正在开发中，敬请期待...</text>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	methods: {
		goBack() {
			this.$router.back();
		}
	}
}
</script>

<style scoped>
.container {
	width: 100%;
	height: 100vh;
	background: #f5f5f5;
}

.header {
	height: 60px;
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	align-items: center;
	padding: 0 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.back-btn {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-right: 15px;
}

.back-icon {
	font-size: 20px;
	color: #007AFF;
}

.page-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.content {
	flex: 1;
	padding: 40px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.placeholder {
	text-align: center;
	padding: 40px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.placeholder-icon {
	font-size: 64px;
	display: block;
	margin-bottom: 20px;
}

.placeholder-text {
	font-size: 24px;
	font-weight: bold;
	color: #333;
	display: block;
	margin-bottom: 12px;
}

.placeholder-desc {
	font-size: 16px;
	color: #666;
	display: block;
}
</style>
